/* custom */

body,
html {
  width: 100%;
}
a:active,
a:hover {
    outline-width: 0;
    text-decoration: none;
}
.clearfix:after {
  content: "\20";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.row{
  margin-left: 0;
  margin-right: 0;
}
/* login page */
#loginpage{
  width: 100vw;
  height: 100vh;
  background: url('/image/login/bg3.jpg') no-repeat 0 0;
  background-size: cover;
}
.loginContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -75%);
  padding-top: 40px;
  width: 360px;
  text-align: center;
}

.loginContent .title {
  font-size: 36px;
  color: #41c059;
}

.loginContent input {
  padding: 8px;
  margin: 5px 0;
  width: 100%;
  height: 40px;
  border: 1px solid #bebebe;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff6c3;
  border-radius: 8px;
}
.loginContent #pwd:hover,
.loginContent #username:hover{
  box-shadow: 0px 2px 20px #333333;
}

.loginContent #signin {
  margin-top: 2rem;
  width: 100%;
  height: 45px;
  color: #fff;
}
.loginContent h1 {
  color: #e4cfbe;
}

.loginContent #username {
  margin-top: 40px;
}

.loginContent .othersignin {
  margin-top: 20px;
}

.loginContent .regeister {
  display: inline-block;
  width: 50%;
  color: #ff6e81;
}

.loginContent .forgert {
  display: inline-block;
  width: 50%;
  color: #ff6e81;
}


/* blog page */

.page.blog {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding-left: 0;
  padding-right: 0;
  background-repeat: repeat;
  background-color: #f6f9fa;
}

.blog .web-nav {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  min-height: 600px;
  padding-left: 0;
  padding-right: 0;
  background-color: #EEC591;
}
.blog .web-nav .navlist{
  margin-top: 2rem;
}
.blog .web-content {
  height: 100%;
}

.blog #logo {
  position: relative;
  height: 200px;
  background-color: #f5de7e;
  background-size: 100%;
}

.blog #logo .advator {
  position: absolute;
  right: 50%;
  bottom: 50%;
  transform: translate(50%,50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.blog #logo .advator img {
  width: 100%;
  height: 100%;
}

.blog .nav-tabs {
  padding-left: 40px;
  font-size: 1.6em;
  text-align: right;
}

/*  blog-page about-me */
.blog .web-nav .about-me{
  display: flex;
  position: absolute;
  left: 10px;
  bottom: 0;
  padding-left: 0;
  color: #fff;
  font-size: 14px;
  list-style: none;
}
.blog .web-nav .about-me li{
  margin-right:15px;
  margin-bottom:15px;
}
.blog .web-nav .about-me .title{
  display: block;
  width: 32px;
  height: 32px;
  font-size: 16px;
}
.blog .web-nav .about-me .title img{
  width: 100%;
  height: 100%;
  margin-right: 10px;
  border-radius: 50%;
}
.blog .tab {
  display: block;
  margin-top:2rem;
  margin-bottom:2rem;
}

.blog .web-content .infos {
  height: 100%;
}

.blog .web-content .article-list {
  min-height: 100%;
  padding-left: 0;
  padding-right: 0;
  box-shadow: 5px 0 5px -5px black, -5px 0 5px -5px black;
}

.blog .article-img img {
  width: 100%;
}

.blog .web-content .article-item {
  margin-top: 15px;
  max-height: 200px;
  overflow: hidden;
}
.blog .web-content .article-item .article-img{
  height: 200px;
  overflow: hidden;
}
.blog .web-content .article-describe {
  height: 200px;
  /* text-overflow:ellipsis; */
}
.blog .web-content .article-describe time{
  flex: 1;
  margin-left: 15px;
  font-style: normal;
  font-size: 12px;
}
.blog .web-content .article-describe p{
  height: 120px;
  text-overflow:ellipsis;
}

@media (min-width: 768px){
  .blog .web-content  {
    display: inline-block;
  }
}
@media (min-width: 768px) and (max-width: 970px){
  .blog .web-content  {
    margin-left: 25%;
  }
}
@media (min-width: 992px){
  .blog .web-content  {
    margin-left: 16.6%;
  }
}
@media (max-width: 414px){
  .blog .web-content  {
    margin-left: 25%;
  }
}
@media screen and (max-width: 768px) {

	.blog .web-nav{
    position: relative;
    display: inline-block;
	}
}
/* blog-content-card */
@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'feathericons';
	src:url('./fonts/feathericons/feathericons.eot?-8is7zf');
	src:url('./fonts/feathericons/feathericons.eot?#iefix-8is7zf') format('embedded-opentype'),
		url('./fonts/feathericons/feathericons.woff?-8is7zf') format('woff'),
		url('./fonts/feathericons/feathericons.ttf?-8is7zf') format('truetype'),
		url('./fonts/feathericons/feathericons.svg?-8is7zf#feathericons') format('svg');
}
#articles {
	overflow: hidden;
	margin: 0;
	padding: 3em 0 0 0;
	width: 100%;
	list-style: none;
	/* text-align: center; */
}

/* Common style */
#articles figure {
	position: relative;
	z-index: 1;
	display: inline-block;
	overflow: hidden;
	margin: -0.135em;
	width: 50%;
	height: 400px;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}

#articles figure img {
	position: relative;
	display: block;
	min-height: 100%;
	opacity: 0.8;
}

#articles figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#articles figure figcaption::before,
#articles figure figcaption::after {
	pointer-events: none;
}

#articles figure figcaption,
#articles figure a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
#articles figure a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

#articles figure h2 {
	word-spacing: -0.15em;
  font-weight: 800;
}
#articles figure h2 span {
  margin-left: 0.5rem;
  font-weight: 300;
  font-size: 16px;
}

#articles figure p {
	letter-spacing: 1px;
  font-size: 68.5%;
}

/* Individual effects */

/*---------------*/
/***** Lily *****/
/*---------------*/

figure.effect-lily img {
	width: -webkit-calc(100% + 50px);
	width: calc(100% + 50px);
	opacity: 0.7;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);
}

figure.effect-lily figcaption {
	top: auto;
	bottom: 0;
	height: 50%;
	text-align: left;
}

figure.effect-lily h2,
figure.effect-lily p {
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

figure.effect-lily h2 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

figure.effect-lily p {
	color: rgba(255,255,255,0.6);
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
}

figure.effect-lily:hover img,
figure.effect-lily:hover p {
	opacity: 1;
}

figure.effect-lily:hover img,
figure.effect-lily:hover h2,
figure.effect-lily:hover p {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-lily:hover p {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}
@media screen and (max-width: 69.5em) {
	#articles figure {
		width: 50%;
	}

	#articles figure figcaption {
		font-size: 90%;
	}
}

@media screen and (max-width: 41.5em) {

	#articles figure {
		width: 100%;
	}
}
/* article-page */
#article-detail {
  background-color: #f5f5d5;
}
#article-detail figure .figureimg{
  width:100%;
  height: 240px;
  overflow: hidden;
  margin: 0 auto;
}
#article-detail figure img{
  display: block;
  width:100%;
}
#article-detail figure figcaption{
  margin: 4rem auto 2rem auto;
  text-align: center;
}
.comment {
  padding: 1rem;
  background-color: #f5f5d5;
}
.comment .title{
  display: inline-block;
  width: 9rem;
  font-size: 1.8rem;
  vertical-align:top;
}
.comment textarea{
  background-color: #FFDAB9;
}
.comment input{
  background-color: #FFDAB9;
  border: none;
}

.comment .comment-email,
.comment .comment-username,
.comment .comment-detail{
  margin: 1rem 0;
}
.comment .comment-submit{
  margin-top: 1rem;
}
/* 项目列表页 /project*/
.project-list .project-list-item a{
    display: block;
    width: 100%;
}
.project-list .project-list-item a figure,
.project-list .project-list-item a img{
    width: 100%;
}